﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace DevWeb.Biztalk.DeploymentSettings.WebUI.Models
{
    public class DeploymentLogViewModel
    {
        #region Primitive Properties

        [DisplayName("Type Deployment")]
        [ReadOnly(true)]
        public string Type { get; set; }

        [DisplayName("ProductId IntegrationVersion")]
        [ReadOnly(true)]
        [HiddenInput(DisplayValue = false)]
        public string ProductId { get; set; }


        [DisplayName("Target Machine")]
        [ReadOnly(true)]
        public string MachineName { get; set; }


        [DisplayName("Environment")]
        [ReadOnly(true)]
        public string Environment { get; set; }


        [DisplayName("DateTime")]
        [ReadOnly(true)]
        public System.DateTime CreateDateTime { get; set; }


        [DisplayName("Deployed by user")]
        [ReadOnly(true)]
        public string DeployedBy { get; set; }


        [DisplayName("IntegrationName")]
        [ReadOnly(true)]
        public string IntegrationName { get; set; }

        [DisplayName("IntegrationVersion")]
        [ReadOnly(true)]
        public string IntegrationVersion { get; set; }

        #endregion
    }
}